/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package koor.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author Admin
 */

@Entity
@Table(name = "student")
public class Student extends Person{

    @Column(name = "number_of_card")
    protected String numberOfCard;

    public Student(String firstName, String secondName, String patronymic, int id, String numberOfCard) {
        this.numberOfCard = numberOfCard;
    }

    public Student(String firstName, String secondName, String patronymic, String numberOfCard) {
        this.numberOfCard = numberOfCard;
    }

    public Student() {
    }

    public String getNumberOfCard() {
        return numberOfCard;
    }

    public void setNumberOfCard(String numberOfCard) {
        this.numberOfCard = numberOfCard;
    }
    
}
